<div class="wrapper wrapper-content" style="max-height: 560px;overflow: auto;display: block;" id="tab_fieldinfo">
  <div class="row">
    <label class="col-sm-2 control-label">字段序号</label>
    <div class="col-sm-10">
      <input type="i" jtag='#jx_msg({key:"query.fieldNum"})' name="SRFI.field_num" type="text" value="1" size="1"  maxlength="2" class="form-control input-sm"/>
    </div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">字段显示</label>
    <div class="col-sm-10">
      <input jtype="s" jtag='#jx_msg({key:"query.fieldView"})' name="SRFI.field_view" type="text" value="" size="50"  class="form-control input-sm"/>
    </div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">字段类型</label>
    <div class="col-sm-10">
      #modeltag({tagcode:"jxbrms_systemdict_list",where:"DICTTYPE_ID=?",params:"fieldType"})
      <select class="form-control input-sm m-b" id="fieldType" name="SRFI.field_type">
        #for(x : systemdict_list)
        <option value="#(x.dict_code)"  #if((fieldinfo.field_type ??) == x.dict_code) selected #end>#(x.dict_name)</option>
        #end
      </select>
    </div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">字段名称</label>
    <div class="col-sm-10">
      <input name="SRFI.field_name" type="text" value="" size="30" class="form-control input-sm" />
    </div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">普通条件</label>
    <div class="col-sm-10">
      <input type="text" value="" ext="where" size="50" class="form-control input-sm" />
    </div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">包含条件</label>
    <div class="col-sm-10">
      <input type="text" value="" size="50" ext="where2" class="form-control input-sm"/>
    </div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">表头扩展</label>
    <div class="col-sm-10">
			<div class="row" >
				<div class="col-sm-3">表头样式:</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="columnStyle"class="form-control input-sm" /></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">表头扩展:</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="columnExt" class="form-control input-sm"/></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">表头th扩展:</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="thExt" class="form-control input-sm"/></div>
			</div>
		</div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">数据扩展</label>
    <div class="col-sm-10">
			<div class="row">
				<div class="col-sm-3">数据样式:</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="dataStyle" class="form-control input-sm"/></div>
			</div>
			<div class="row">
				<div class="col-sm-3">数据扩展:</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="dataExt" class="form-control input-sm"/></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">数据td扩展:</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="tdExt" class="form-control input-sm"/></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">数据导出td扩展:</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="expTdExt" class="form-control input-sm"/></div>
			</div>
		</div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">表头列分组</label>
    <div class="col-sm-10">
      <input type="text" value="" size="50" name="SRFI.column_group" class="form-control input-sm"/>
    </div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row">
    <label class="col-sm-2 control-label">数据列分组</label>
    <div class="col-sm-10">
      <input type="text" value="" size="50" name="SRFI.data_group" class="form-control input-sm"/>
    </div>
  </div>
  <div class="hr-line-dashed" style="margin:5px 0px"></div>
  <div class="row" id="div_f_d" style="display:none" >
    <label class="col-sm-2 control-label">数字类型</label>
    <div class="col-sm-10">
			<div class="row">
				<div class="col-sm-3">显示格式:</div>
				<div class="col-sm-9"><input type="text" value="" size="20" ext="viewFmt" class="form-control input-sm"/></div>
			</div>
    </div>
  </div>
  <div class="row" id="div_f_date" style="display:none" >
    <label class="col-sm-2 control-label">日期类型</label>
    <div class="col-sm-10">
			<div class="row">
				<div class="col-sm-3">显示格式:</div>
				<div class="col-sm-9"><input type="text" value="yyyy-MM-dd HH:mm" size="20" ext="viewFmt" class="form-control input-sm"/></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">条件查询格式:</div>
				<div class="col-sm-9"><input type="text" value="yyyy-MM-dd" size="20" ext="termFmt" class="form-control input-sm"/></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">真实格式:</div>
				<div class="col-sm-9"><input type="text" value="yyyyMMddHHmmss" size="20" ext="realFmt"class="form-control input-sm" /></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">快捷查询条件:</div>
				<div class="col-sm-9"><input type="text" value=">=;<=" size="20" ext="term" class="form-control input-sm" /></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">默认值:</div>
				<div class="col-sm-9"><input type="text" value="" size="20" ext="plusValue" class="form-control input-sm"/></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">默认类型:</div>
				<div class="col-sm-9"><input type="text" value="day" size="20" ext="plusType" class="form-control input-sm"/></div>
			</div>
    </div>
  </div>
  <div class="row" id="div_f_dictselect" style="display:none" >
    <label class="col-sm-2 control-label">字典选择</label>
    <div class="col-sm-10">
			<div class="row">
				<div class="col-sm-3">字典类型</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="selectCode" class="form-control input-sm"/></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">真实值字段</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="realField" class="form-control input-sm"/></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">显示值字段</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="viewField" class="form-control input-sm"/></div>
			</div>
      <input type="hidden" value="1" ext="selectType" />
    </div>
  </div>
  <div class="row" id="div_f_sqlselect" #if ((fieldinfo.field_type ??) != "sqlselect") style="display:none"#end >
    <label class="col-sm-2 control-label">sql选择</label>
    <div class="col-sm-10">
			<div class="row">
				<div class="col-sm-3">sql编号</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="selectCode" class="form-control input-sm" /></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">真实值字段</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="realField" class="form-control input-sm" /></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">显示值字段</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="viewField" class="form-control input-sm" /></div>
			</div>
			<div class="row" style="margin-top:5px">
				<div class="col-sm-3">登录用户条件</div>
				<div class="col-sm-9"><input type="text" value="" size="50" ext="uidTerm" class="form-control input-sm"/></div>
			</div>
      <input type="hidden" value="1" ext="selectType" />
    </div>
  </div>
  <div class="row" id="div_f_uddt" #if ((fieldinfo.field_type ??) != "uddt") style="display:none"#end >
    <label class="col-sm-2 control-label">自定义数据类型</label>
    <div class="col-sm-10">
      <textarea ext='uExtInfo' rows="6" class="form-control input-sm" >#escape(fieldinfo.fieldExt.uExtInfo ??)</textarea>
    </div>
  </div>
  <div class="row" >
    <label class="col-sm-2 control-label">字段标志</label>
    <div class="col-sm-10">
      <input type="hidden" name="SRFI.field_ext" id="fieldExt"/>
	  <div class="row">
	  <div class="col-sm-6">
      <input ctag="fc1" type="checkbox" value="1"/>默认显示和导出
	  </div>
	  <div class="col-sm-6">
      <input ctag="fc2" type="checkbox" value="2"/>显示
	  </div>
	  </div>
	  <div class="row">
	  <div class="col-sm-6">  
      <input ctag="fc4" type="checkbox" value="4"/>查询条件
	  </div>
	  <div class="col-sm-6">
      <input ctag="fc16" type="checkbox" value="16"/>快捷查询条件
	  </div>
	  </div>
	  <div class="row">
	  <div class="col-sm-6">
      <input ctag="fc8" type="checkbox" value="8"/>排序条件
	  </div>
	  <div class="col-sm-6">	  
      <input ctag="fc32" type="checkbox" value="32"/>该字段只导出
	  </div>
	  </div>
	  <div class="row">
	  <div class="col-sm-6">	  
      <input ctag="fc64" type="checkbox" value="64"/>该字段隐藏显示
	  </div>
	  <div class="col-sm-6">	  
      <input ctag="fc128" type="checkbox" value="128"/>该字段用于扩展表的后缀
	  </div>
	  </div>
      <input type="hidden" name="SRFI.field_flag" value="0" id="fieldFlag"/>
    </div>
  </div>
</div>